/*
 * Copyright (C) 2004-2016 7dub.cn All rights reserved
 * Author: caozhongsheng
 * Date: 2016年11月12日
 */
package cn.dub.scarecrow.common.config.db;

import org.springframework.boot.context.properties.ConfigurationProperties;

import com.alibaba.druid.pool.DruidDataSource;

/**
 * Class for configuration of a data source.
 * More settings please check the set methods in super class.
 * @author caozhongsheng
 *
 */
@ConfigurationProperties(prefix = DataSourceSettings.PREFIX)
public class DataSourceSettings extends DruidDataSource {

    private static final long serialVersionUID = 2064812231565505152L;

    public static final String PREFIX = "druid.datasource";

    private String mapperLocations;

    public String getMapperLocations() {
        return mapperLocations;
    }

    public void setMapperLocations(String mapperLocations) {
        this.mapperLocations = mapperLocations;
    }
}
